package com.example.demo.nuoqi.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/****
 * @Author:shenkunlin
 * @Description:Application构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "Application",value = "Application")
@Table(name="application")
public class Application implements Serializable{

	@ApiModelProperty(value = "",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Integer id;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "myApplication")
	private String myApplication;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "approveApplication")
	private String approveApplication;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "itemInvite")
	private String itemInvite;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "userId")
	private Integer userId;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "userName")
	private String userName;//


	@ApiModelProperty(value = "",required = false)
	@Column(name = "status")
	private String status;//


	@Transient
	Itemdetails itemdetails;

	@Transient
	User itemInviteUser;


	@Transient
	java.util.Date InviteDate;

	public Date getInviteDate() {
		return InviteDate;
	}

	public void setInviteDate(Date inviteDate) {
		InviteDate = inviteDate;
	}

	public User getItemInviteUser() {
		return itemInviteUser;
	}

	public void setItemInviteUser(User itemInviteUser) {
		this.itemInviteUser = itemInviteUser;
	}

	public Itemdetails getItemdetails() {
		return itemdetails;
	}

	public void setItemdetails(Itemdetails itemdetails) {
		this.itemdetails = itemdetails;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	//get方法
	public Integer getId() {
		return id;
	}

	//set方法
	public void setId(Integer id) {
		this.id = id;
	}
	//get方法
	public String getMyApplication() {
		return myApplication;
	}

	//set方法
	public void setMyApplication(String myApplication) {
		this.myApplication = myApplication;
	}
	//get方法
	public String getApproveApplication() {
		return approveApplication;
	}

	//set方法
	public void setApproveApplication(String approveApplication) {
		this.approveApplication = approveApplication;
	}
	//get方法
	public String getItemInvite() {
		return itemInvite;
	}

	//set方法
	public void setItemInvite(String itemInvite) {
		this.itemInvite = itemInvite;
	}
	//get方法
	public Integer getUserId() {
		return userId;
	}

	//set方法
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	//get方法
	public String getUserName() {
		return userName;
	}

	//set方法
	public void setUserName(String userName) {
		this.userName = userName;
	}


}
